﻿using System;
using System.ComponentModel;
using System.Net;
using System.Windows;

namespace Automator.Tasks.Windows
{
    public partial class FileDownloadTaskExecuteWindow : Window
    {
        public bool allowClosing = false;
        
        public FileDownloadTaskExecuteWindow()
        {
            InitializeComponent();
        }
        
        private void Window_Closing(object sender, CancelEventArgs e)
        {
            e.Cancel = !allowClosing;
        }      
    }
}